#include "syntax.h"
#include <stdio.h>

void lex_init( lex_info *lex, list *tokens, list *comments, list *errors, smap *sym )
{
    lex->comments = comments;
    lex->cur_token = 0;
    lex->tokens = tokens;
    lex->cur_token = 0;
    lex->symbols = sym;
    lex->errors = errors;
}
